
// 自动生成模板SpikesGoodsSkus
package spikes_goods_sku
import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// spikesGoodsSkus表 结构体  SpikesGoodsSkus
type SpikesGoodsSkus struct {
    global.GVA_MODEL
    SpikesId  *int `json:"spikesId" form:"spikesId" gorm:"column:spikes_id;comment:秒杀活动Id;"`  //秒杀活动Id 
    SkuId  *int `json:"skuId" form:"skuId" gorm:"column:sku_id;comment:SkuID;"`  //SkuID 
    SpikesStock  *int `json:"spikesStock" form:"spikesStock" gorm:"column:spikes_stock;comment:秒杀商品库存;"`  //秒杀商品库存 
    Price  *float64 `json:"price" form:"price" gorm:"column:price;comment:原价价格;"`  //原价价格 
    SpikesPrice  *float64 `json:"spikesPrice" form:"spikesPrice" gorm:"column:spikes_price;comment:秒杀价格;"`  //秒杀价格 
}


// TableName spikesGoodsSkus表 SpikesGoodsSkus自定义表名 spikes_goods_skus
func (SpikesGoodsSkus) TableName() string {
    return "spikes_goods_skus"
}





